package com.ggy.babybed.socketwork.command;

import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;

/**
 * @author gonggy
 *
 */
public interface INetworkCommand {

    boolean write(OutputStream outStream) throws IOException;

    boolean read(InputStream inStream) throws IOException;
}